﻿namespace KinonekoSoftware.Foundation.Platform
{
    public enum SpecialFolder
    {
        Documents,
        Downloads,
        Music,
        Video,
        Picture,
    }
    
    
    public interface IStorageService
    {
        string GetSpecialFolder(SpecialFolder folder);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        string CheckDirectoryOrCreate(string path);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="format"></param>
        /// <returns></returns>
        Task<Result<IOResult>> SingleFile(FileFormat format);
        
        /// <summary>
        /// 
        /// </summary>
        /// <param name="format"></param>
        /// <returns></returns>
        Task<Result<IList<IOResult>>> MultiFile(FileFormat format);
    }
}